Page({
  data: {
    product : [
      {"name" : "坐垫"},
      {"name" : "脚垫"}
    ],
    swiper : {
      indicator : false,
      autoplay : false,
      duration : 500
    },
    current:0,
    active:false,
    imgUrls : [{
      img : 'http://oxeh5saxq.bkt.clouddn.com/cargo/DF3041D.jpg-song',
      text1 : '坐垫',
      text2 : 'DF4409ZD',
      text3 : '暂无版型',
      text4: '东风 - 御风P16'
    },{
        img: 'http://oxeh5saxq.bkt.clouddn.com/cargo/DF3011J.jpg-song',
        text1: '坐垫',
        text2: 'DF4409ZD',
        text3: '暂无版型',
        text4: '东风 - 御风P16'
    }]
  },
  change : function(e){
    this.setData({
      current : e.detail.current
    })
  },
  clickTab : function(e){
    this.setData({
      current: e.currentTarget.dataset.current
    })
  }
})